﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AutoFillCenter
{    
    public class AutoFill
    {
        public static bool IS_AUTO_SUBMIT = true;

        readonly int _id = 1;
        readonly String _name = "Base AutoFill";

        protected Int32 programID = 0;

        public Int32 ProgramID
        {
            get { return programID; }
        }

        protected Int32 usernameField = 0;

        public Int32 UsernameField
        {
            get { return usernameField; }
            //set { usernameField = value; }
        }
        protected Int32 passwordField = 0;

        public Int32 PasswordField
        {
            get { return passwordField; }
            //set { passwordField = value; }
        }

        protected Int32 submitField = 0;

        public Int32 SubmitField
        {
            get { return submitField; }
        }

        public virtual bool Fill(String username, String password){
            return false;
        }

        public virtual bool Submit(){
            return false;
        }

        public virtual bool processFill(){
            return false;
        }

        //public virtual AutoFill createInstance();

        
    }
}
